import { http } from '@/utils/http/axios';
import axios from 'axios';
// //获取table
// export function getTableList(params) {
//   console.log(
//     http.request({
//       url: '/table/list',
//       method: 'get',
//       params,
//     })
//   );
//   return http.request({
//     url: '/table/list',
//     method: 'get',
//     params: params,
//   });
// }

//获取table数据
export function getTableList(params) {
  console.log(params);
  return http.request({
     url: '/user/data',
     method: 'get',
     params: params,
  });
}

//获取项目信息数据
export function getProjcets(params) {
  console.log(params);
  return http.request({
    url: '/projcet/data',
    method: 'get',
    params: params,
  });
}

//获取班组信息数据
export function getGroups(params) {
  console.log(params);
  return http.request({
    url: '/projcet/data',
    method: 'get',
    params: params,
  });
}
